package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Choice;
import com.example.projectcode.vo.ChoiceVo;
import com.example.projectcode.vo.UpdateChoiceVo;

import java.util.List;

public interface ChoiceService extends IService<Choice> {
    List<Choice> selectAllChoice(Integer testPointid, String questionCategory);

    Choice selectChoice(Integer testPointid, String questionCategory, Integer order);

    int countChoice(Integer TestPointid,String questionCategory);

    Choice selectChoiceByCId(Integer cId);

    int insertChoice(ChoiceVo choiceVo);

    int deleteCHoiceById(Integer choiceId);

    int updateChoiceById(UpdateChoiceVo updateChoiceVo);


    List<Choice> selectCHoiceByTestPointId(Integer testPointId);
}
